173 research outputs found
Determinant Sums for Undirected Hamiltonicity
We present a Monte Carlo algorithm for Hamiltonicity detection in an
-vertex undirected graph running in time. To the best of
our knowledge, this is the first superpolynomial improvement on the worst case
runtime for the problem since the bound established for TSP almost
fifty years ago (Bellman 1962, Held and Karp 1962). It answers in part the
first open problem in Woeginger's 2003 survey on exact algorithms for NP-hard
problems.
For bipartite graphs, we improve the bound to time. Both the
bipartite and the general algorithm can be implemented to use space polynomial
in .
We combine several recently resurrected ideas to get the results. Our main
technical contribution is a new reduction inspired by the algebraic sieving
method for -Path (Koutis ICALP 2008, Williams IPL 2009). We introduce the
Labeled Cycle Cover Sum in which we are set to count weighted arc labeled cycle
covers over a finite field of characteristic two. We reduce Hamiltonicity to
Labeled Cycle Cover Sum and apply the determinant summation technique for Exact
Set Covers (Bj\"orklund STACS 2010) to evaluate it.Comment: To appear at IEEE FOCS 201
Coloring Graphs having Few Colorings over Path Decompositions
Lokshtanov, Marx, and Saurabh SODA 2011 proved that there is no
time algorithm for
deciding if an -vertex graph with pathwidth
admits a proper vertex coloring with colors unless the Strong Exponential
Time Hypothesis (SETH) is false. We show here that nevertheless, when
, where is the maximum degree in the
graph , there is a better algorithm, at least when there are few colorings.
We present a Monte Carlo algorithm that given a graph along with a path
decomposition of with pathwidth runs in time, that
distinguishes between -colorable graphs having at most proper
-colorings and non--colorable graphs. We also show how to obtain a
-coloring in the same asymptotic running time. Our algorithm avoids
violating SETH for one since high degree vertices still cost too much and the
mentioned hardness construction uses a lot of them.
We exploit a new variation of the famous Alon--Tarsi theorem that has an
algorithmic advantage over the original form. The original theorem shows a
graph has an orientation with outdegree less than at every vertex, with a
different number of odd and even Eulerian subgraphs only if the graph is
-colorable, but there is no known way of efficiently finding such an
orientation. Our new form shows that if we instead count another difference of
even and odd subgraphs meeting modular degree constraints at every vertex
picked uniformly at random, we have a fair chance of getting a non-zero value
if the graph has few -colorings. Yet every non--colorable graph gives a
zero difference, so a random set of constraints stands a good chance of being
useful for separating the two cases.Comment: Strengthened result from uniquely -colorable graphs to graphs with
few -colorings. Also improved running tim
Exact Covers via Determinants
Given a k-uniform hypergraph on n vertices, partitioned in k equal parts such
that every hyperedge includes one vertex from each part, the k-dimensional
matching problem asks whether there is a disjoint collection of the hyperedges
which covers all vertices. We show it can be solved by a randomized polynomial
space algorithm in time O*(2^(n(k-2)/k)). The O*() notation hides factors
polynomial in n and k.
When we drop the partition constraint and permit arbitrary hyperedges of
cardinality k, we obtain the exact cover by k-sets problem. We show it can be
solved by a randomized polynomial space algorithm in time O*(c_k^n), where
c_3=1.496, c_4=1.642, c_5=1.721, and provide a general bound for larger k.
Both results substantially improve on the previous best algorithms for these
problems, especially for small k, and follow from the new observation that
Lovasz' perfect matching detection via determinants (1979) admits an embedding
in the recently proposed inclusion-exclusion counting scheme for set covers,
despite its inability to count the perfect matchings
Below All Subsets for Some Permutational Counting Problems
We show that the two problems of computing the permanent of an
matrix of -bit integers and counting the number of
Hamiltonian cycles in a directed -vertex multigraph with
edges can be reduced to relatively
few smaller instances of themselves. In effect we derive the first
deterministic algorithms for these two problems that run in time in
the worst case. Classic time algorithms for the two
problems have been known since the early 1960's. Our algorithms run in
time.Comment: Corrected several technical errors, added comment on how to use the
algorithm for ATSP, and changed title slightly to a more adequate on
Counting Shortest Two Disjoint Paths in Cubic Planar Graphs with an NC Algorithm
Given an undirected graph and two disjoint vertex pairs and
, the Shortest two disjoint paths problem (S2DP) asks for the minimum
total length of two vertex disjoint paths connecting with , and
with , respectively.
We show that for cubic planar graphs there are NC algorithms, uniform
circuits of polynomial size and polylogarithmic depth, that compute the S2DP
and moreover also output the number of such minimum length path pairs.
Previously, to the best of our knowledge, no deterministic polynomial time
algorithm was known for S2DP in cubic planar graphs with arbitrary placement of
the terminals. In contrast, the randomized polynomial time algorithm by
Bj\"orklund and Husfeldt, ICALP 2014, for general graphs is much slower, is
serial in nature, and cannot count the solutions.
Our results are built on an approach by Hirai and Namba, Algorithmica 2017,
for a generalisation of S2DP, and fast algorithms for counting perfect
matchings in planar graphs
Directed Hamiltonicity and Out-Branchings via Generalized Laplacians
We are motivated by a tantalizing open question in exact algorithms: can we
detect whether an -vertex directed graph has a Hamiltonian cycle in time
significantly less than ? We present new randomized algorithms that
improve upon several previous works:
1. We show that for any constant and prime we can count the
Hamiltonian cycles modulo in
expected time less than for a constant that depends only on and
. Such an algorithm was previously known only for the case of counting
modulo two [Bj\"orklund and Husfeldt, FOCS 2013].
2. We show that we can detect a Hamiltonian cycle in
time and polynomial space, where is the size of the maximum
independent set in . In particular, this yields an time
algorithm for bipartite directed graphs, which is faster than the
exponential-space algorithm in [Cygan et al., STOC 2013].
Our algorithms are based on the algebraic combinatorics of "incidence
assignments" that we can capture through evaluation of determinants of
Laplacian-like matrices, inspired by the Matrix--Tree Theorem for directed
graphs. In addition to the novel algorithms for directed Hamiltonicity, we use
the Matrix--Tree Theorem to derive simple algebraic algorithms for detecting
out-branchings. Specifically, we give an -time randomized algorithm
for detecting out-branchings with at least internal vertices, improving
upon the algorithms of [Zehavi, ESA 2015] and [Bj\"orklund et al., ICALP 2015].
We also present an algebraic algorithm for the directed -Leaf problem, based
on a non-standard monomial detection problem
Approximating Longest Path
We investigate the computational hardness of approximating the longest path and the longest cycle in undirected and directed graphs on n vertices. We show that * in any expander graph, we can find (n) long paths in polynomial time. * there is an algorithm that finds a path of length (log2 L/ log log L) in any undirected graph having a path of length L, in polynomial time. * there is an algorithm that finds a path of length (log2 n/ log log n) in any Hamiltonian directed graph of constant bounded outdegree, in polynomial time. * there cannot be an algorithm finding paths of length (n ) for any constant > 0 in a Hamiltonian directed graph of bounded outdegree in polynomial time, unless P = NP. * there cannot be an algorithm finding paths of length (log2+ n), or cycles of length (log1+ n) for any constant > 0 in a Hamiltonian directed graph of constant bounded outdegree in polynomial time, unless 3-Sat can be solved in subexponential time
Narrow sieves for parameterized paths and packings
We present randomized algorithms for some well-studied, hard combinatorial
problems: the k-path problem, the p-packing of q-sets problem, and the
q-dimensional p-matching problem. Our algorithms solve these problems with high
probability in time exponential only in the parameter (k, p, q) and using
polynomial space; the constant bases of the exponentials are significantly
smaller than in previous works. For example, for the k-path problem the
improvement is from 2 to 1.66. We also show how to detect if a d-regular graph
admits an edge coloring with colors in time within a polynomial factor of
O(2^{(d-1)n/2}).
Our techniques build upon and generalize some recently published ideas by I.
Koutis (ICALP 2009), R. Williams (IPL 2009), and A. Bj\"orklund (STACS 2010,
FOCS 2010)
- …